Skip to content

chore(launchpad): add app_name field to preprod artifact table #95383

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jul 15, 2025

Conversation

NicoHinderling
Copy link
Contributor

https://github.com/getsentry/launchpad/blob/main/src/launchpad/size/models/common.py#L19

allows us to store the name of the app from the information we extract

@NicoHinderling NicoHinderling requested a review from a team as a code owner July 11, 2025 21:55
@NicoHinderling NicoHinderling requested a review from trevor-e July 11, 2025 21:55
@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Jul 11, 2025
Copy link
Contributor

This PR has a migration; here is the generated SQL for src/sentry/preprod/migrations/0011_add_preprod_artifact_app_name_field.py

for 0011_add_preprod_artifact_app_name_field in preprod

--
-- Add field app_name to preprodartifact
--
ALTER TABLE "sentry_preprodartifact" ADD COLUMN "app_name" varchar(255) NULL;

@@ -116,6 +116,9 @@ def as_choices(cls):
# Installable file like IPA or APK
installable_app_file_id = BoundedBigIntegerField(db_index=True, null=True)

# The name of the app, e.g. "My App"
app_name = models.CharField(max_length=255, null=True)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we also need the app_id right?

Copy link
Contributor

This PR has a migration; here is the generated SQL for src/sentry/preprod/migrations/0011_add_preprod_artifact_app_name_and_app_id_fields.py

for 0011_add_preprod_artifact_app_name_and_app_id_fields in preprod

--
-- Add field app_id to preprodartifact
--
ALTER TABLE "sentry_preprodartifact" ADD COLUMN "app_id" varchar(255) NULL;
--
-- Add field app_name to preprodartifact
--
ALTER TABLE "sentry_preprodartifact" ADD COLUMN "app_name" varchar(255) NULL;

@NicoHinderling NicoHinderling merged commit 5f7a2e0 into master Jul 15, 2025
64 of 65 checks passed
@NicoHinderling NicoHinderling deleted the add-app-name-field-preprod-table branch July 15, 2025 18:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Scope: Backend Automatically applied to PRs that change backend components
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants